package com.mikey.service;

import com.mikey.common.PageResult;
import com.mikey.pojo.TbBrand;

import java.util.List;
import java.util.Map;

/**
 * @author :Mikey
 * @description :
 * @create :2022-06-28 10:51:00
 */
public interface BrandService {
    List<TbBrand> findAll();

    TbBrand  findOne(Long id);

    int deleteBrand(Long id);

    int updateBrand(TbBrand tbBrand);

    int addBrand(TbBrand tbBrand);

    int deleteByIds(Long ids[]);

    PageResult findPage(int pageNum,int pageSize);

    PageResult findByKwd(TbBrand tbBrand,int pageNum,int pageSize);

    List<Map> selectOptionList();
}
